package com.zjuee.service.company.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author wu liang
 * @since 1.0
 */
@Data
public class CompanyLicenseVo {

    /*企业许可证Id*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long id;

    /**企业ID*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long bciId;

    /**企业名称*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String bciName;

    /**统一信息代码*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String bciCode;

    /**许可证编号*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String bclCode;

    /**是否豁免*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String bclExempt;

    /**是否豁免 - 中文*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String bclExemptCN;

    /**是否包含医废*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String bclMedical;

    /**是否包含医废 - 中文*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String bclMedicalCN;

    /**初次发证日期*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date bclFirsterIssueDate;

    /**发证日期*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date bclIssueDate;

    /**有效开始日期*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date bclValidStartDate;

    /**有效结束日期*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date bclValidEndDate;

    /**处置方式大类*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String bclgDisposalType;

    /**处置方式大类 - 中文*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String bclgDisposalTypeCN;

    /**处置方式小类*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String bclgDisposalStype;

    /**处置方式小类 - 中文*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String bclgDisposalStypeCN;

    /**危废大类*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String bclcBcode;

    /**危废大类 - 中文*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String bclcBcodeCN;

    /**危废编码*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String bclcScode;

    /**许可量(吨)*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private BigDecimal bclgCapacity;

    /*处置信息 - List*/
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<CompanyLicenseVo> children = new ArrayList<>();


}
